import { observable, action } from 'mobx-miniprogram'

const store = observable({
    token: '',
    setToken: action(function (payload) {
        this.token = payload
    })
})

export default store